package com.happyclub.lbjcontroller;

import org.springframework.web.bind.annotation.RestController;

/**
 * @author 高欢
 * @description TODO
 * @date 2019/4/13
 */
@RestController
public class testController {

   /* @Encrypt
    @RequestMapping("/getDemo")
    public Demo getDemo(){
        Demo demo = new Demo();
        demo.setId(1);
        demo.setName("张三");
        return demo;
    }

    @Encrypt
    @Decrypt
    @RequestMapping("/save")
    public Demo giveDemo(@RequestBody Demo demo1){
        System.out.println(demo1);
        Demo demo = new Demo();
        demo.setId(100);
        demo.setName("我日你仙人");
        return demo;
    }*/
}
